package lang.vo;

public class MyObject {

    String name;

    public MyObject(String name) {
        this.name = name;
    }

    @Override
    protected void finalize() throws Throwable {
        System.out.println("MyObject " + name + " gc...");
    }
}